package com.tpo.jnotes.client.main;

import javax.swing.JDesktopPane;
import javax.swing.UIManager;

import com.tpo.jnotes.base.colors.BColors;
import com.tpo.jnotes.base.resource.BResConstants;
import com.tpo.jnotes.base.resource.BResource;
import com.tpo.jnotes.client.lib.frame.CustomLanguageFrame;
import com.tpo.jnotes.client.lib.language.Bundle;

public class BaseMain extends CustomLanguageFrame
{

    protected JDesktopPane contentPane = new JDesktopPane();

    // protected MemoryPanel MemoryArea = new MemoryPanel();

    public BaseMain()
    {
        super( Bundle.getString( "main.name" ) );
        setIconImage( BResource.getImage( BResConstants.MAIN_IMG ) );
        setContentPane( contentPane );
        setUndecorated( true );
        setSize( 0, 0 );
        setDefaultCloseOperation( EXIT_ON_CLOSE );
        setVisible( true );
        UIManager.put( "ToolTip.background", BColors.WHITE_D );
        UIManager.put( "ToolTip.foreground", BColors.BLUE_D );

    }
}
